<div id="face_pop_div" style="display:none; width:500px;height:400px">
	<a href="#" onclick="showFace(3)">3d face</a>&nbsp;|&nbsp;<a href="#" onclick="showFace(2)">2d face</a>&nbsp;|&nbsp;<a href="#" onclick="showFace(1)">XIAER</a>
	<br>
	<div id="face1" style="display:none; width:500px;height:400px">
		<#if commenFaceList?exists>
		<table width="500px">
			<#list commenFaceList?chunk(5) as row>
				<tr heigth="100px">
					<#list row as cell>
					<td>
						<img src="${statics}/${cell.fullPath!}" title="${cell.title!}" onclick="addImage('${cell.name!}','${cell.type!}')" />&nbsp;&nbsp;
					</td>
					</#list>
				</tr>
			</#list>
		</table>
		</#if>
	</div>
	<div id="face2" style="display:none; width:500px;height:400px">
		<#if planeFaceList?exists>
		<table width="500px" >
			<#list planeFaceList?chunk(5) as row>
				<tr  height="100px">
					<#list row as cell>
					<td>
						<img src="${statics}/${cell.fullPath!}" title="${cell.title!}" onclick="addImage('${cell.name!}','${cell.type!}')" />&nbsp;&nbsp;
					</td>
					</#list>
				</tr>
			</#list>
		</table>
		</#if>
	</div>
	<div id="face3" style="width:500px;height:400px">
		<#if dimensionalFaceList?exists>
		<table width="500px">
			<#list dimensionalFaceList?chunk(5) as row>
				<tr  height="100px">
					<#list row as cell>
					<td>
						<img src="${statics}/${cell.fullPath!}" title="${cell.title!}" onclick="addImage('${cell.name!}','${cell.type!}')" />&nbsp;&nbsp;
					</td>
					</#list>
				</tr>
			</#list>
		</table>
		</#if>
	</div>
	<script>
		function showFace(type){
			var face1=document.getElementById("face1");
			var face2=document.getElementById("face2");
			var face3=document.getElementById("face3");
			if(type==1){
				face1.style.display="";
				face2.style.display="none";
				face3.style.display="none";
			}else if(type==2){
				face1.style.display="none";
				face2.style.display="";
				face3.style.display="none";
			}else{
				face1.style.display="none";
				face2.style.display="none";
				face3.style.display="";
			}
		}
		
	</script>
</div>